import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'element-plus/theme-chalk/index.css'
import ElementPlus from 'element-plus'
import * as echarts from 'echarts'
import VueLuckyCanvas from '@lucky-canvas/vue'

const app = createApp(App);

// vue3 给原型上挂载属性
app.config.globalProperties.$echarts = echarts;
 
app.use(router)
  .use(store)
  .use(ElementPlus)
  .use(VueLuckyCanvas)
  .mount('#app')